import matplotlib.pyplot as pyplot
import gdal
ds=gdal.Open(r'D:\data_dir2\TIFF4326\sxc4326.tif')
data=ds.GetRasterBand(1).ReadAsArray()
plt.imshow(data)
plt.show